package java_zuoye_3;

import java.util.ArrayList;

public class text {
	public static void main(String[] args) {
		ArrayList<Integer> arr = new ArrayList<>();
		Manager m1 = new Manager("dick", 5000);
		player p1 = new player("p1",0);
		player p2 = new player("p2",0);
		player p3 = new player("p3",0);
		player p4 = new player("p4",0);
		player p5 = new player("p5",0);
		arr = m1.sendRandom(500, 5);
		
		System.out.println(m1.sendRandom(500, 5));
		p1.receive(arr);
		p2.receive(arr);
		p3.receive(arr);
		p4.receive(arr);
		p5.receive(arr);
		p1.show();
		p2.show();
		p3.show();
		p4.show();
		p5.show();
	}
}
